#include "stack.h"

listItemType stack::top()
{
	return (*this)[0];
}

void stack::pop()
{
	bool success;
	eraser(0, success);
	return ;
}

void stack::push(listItemType NewItem)
{
	bool success;
	insert(0, NewItem, success);
	return ;
}
